import Layout from '@/module-dashboard/pages/layout'
const _import = require('@/router/import_' + process.env.NODE_ENV)

export default [
  {
    path: '/system',
    component: Layout,
    redirect: 'noredirect',
    name: '系统设置',
    meta: {
      title: '系统设置',
      icon: 'iconui--_7'
    },
    children: [
      {
        path: 'department-list',
        component: _import('set/pages/department-list'),
        name: '部门管理',
        meta: {
          title: '部门管理'
        }
      },
      {
        path: 'employee-list',
        component: _import('set/pages/employee-list'),
        name: '员工管理',
        meta: {
          title: '员工管理'
        }
      },
      {
        path: 'employee-user-list',
        component: _import('set/pages/employee-user-list'),
        name: '用户管理',
        meta: {
          title: '用户管理'
        }
      }
    ]
  }
]
